package com.ccav.domain;

public class Student {
    private Long id;
    private String name;
    private Integer age;
    private Boolean sex;
    private Teacher teacherId;
    private Patriarch patriarchId;

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                ", teacherId=" + teacherId +
                ", patriarchId=" + patriarchId +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Boolean getSex() {
        return sex;
    }

    public void setSex(Boolean sex) {
        this.sex = sex;
    }

    public Teacher getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Teacher teacherId) {
        this.teacherId = teacherId;
    }

    public Patriarch getPatriarchId() {
        return patriarchId;
    }

    public void setPatriarchId(Patriarch patriarchId) {
        this.patriarchId = patriarchId;
    }
}
